Programming With QuickTime VR 2.1

Previous | Overview | Contents | Next

Cache Sizes

The cacheSize parameter to the QTVRGetCacheSettings and QTVRSetCachePrefs functions specifies the size of the panorama back buffer. You can use these constants to specify a cache size:

enum {
    kQTVRMinimumCache                               = -1,
    kQTVRSuggestedCache                             = 0,
    kQTVRFullCache                                  = 1
};

Constant descriptions

kQTVRMinimumCache
The minimum cache size required to display the specified movie.
kQTVRSuggestedCache
The suggested cache size.
kQTVRFullCache
The full cache size (that is, a cache that is large enough to fit the entire panorama in memory). This is the default cache size.

© 1997 Apple Computer, Inc.

Previous | Overview | Contents | Next